package com.chalk.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.chalk.common.util.Result;
import com.chalk.exception.ColumnNotEmptyException;
import com.chalk.model.Member;
import com.chalk.model.TicketOrder;
import com.chalk.model.TicketOrderItem;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author glq
 * @since 2020-12-24
 */

public interface TicketOrderService extends IService<TicketOrder> {
    /**
     * 新增
     */
    public int addTicketOrder(TicketOrder entity);

    /**
     * 修改
     */
    public int updateTicketOrder(TicketOrder entity);

    /**
     * 删除
     */
    public int deleteTicketOrder(Integer id);

    /**
     * 票订单分页
     * @param map
     * @return
     * @throws ColumnNotEmptyException
     */
    public Page<TicketOrder> getTicketOrderForPage(Map<String,Object> map)throws ColumnNotEmptyException;

}
